package cliVet.testes;



import org.hibernate.Session;

import cliVet.conexao.HibernateUtil;

public class ConexaoHibernate {

	public static void main(String[] args) {
		Session sessao = null;
		try{
			sessao = HibernateUtil.getSessionFactory().openSession();
			System.out.println("Conectou");
		}finally {
			sessao.close();
		}
	}
}
